package org.springframework.demo7;

import org.springframework.core.Ordered;
import org.springframework.stereotype.Component;

/**
 * 库存校验
 */
@Component
public class ProductStockVerify extends AbstarctOrderVerify implements Ordered {
	@Override
	public int getOrder() {
		return 1;
	}

	@Override
	public boolean verify() {
		System.out.println("商品库存校验");
		return true;
	}
}
